package com.lmabbe.core.common.interfaces;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmabbe.core.common.entitys.SysUserRole;

import java.util.List;

/**
 * @author lmabbe
 */
public interface SysUserRoleService extends IService<SysUserRole> {

    /**
     * 根据用户查找权限列表
     *
     * @param userId 用户ID
     * @return
     */
    List<SysUserRole> getRoleByUserId(Long userId);
}